home *** CD-ROM | disk | FTP | other *** search
- Short: Adds new features to Inform's parser
- Author: glyph@mindless.com (GLYPH)
- Uploader: glyph@mindless.com (GLYPH)
- Type: game/text
- Action: NoStart
-
-
- This archive contains modified versions of grammar.h, parser.h, parserm.h,
- and english.h. They're real neat and super easy to use in your own inform
- games.
-
-
- What does it do?
- ================
- The modifications I have whipped up extend Inform's standard parser to
- include some nifty handy features:
-
- Better handling of AND and THEN
- -------------------------------
- "Take the box and then open it" works now.
- "Take and open the box" works now.
- "Pick up the box and the ball and open the box and look in it" works now.
- "Take and open the book and the box and put the book in the box" works too.
-
- Better handling of multiple subjects
- ------------------------------------
- Most verbs now allow multiple subjects, like "Look at all". To keep
- things fair, daemons are allowed to run between actions, but only if the
- action took time to do.
-
- For example, if you had a Rat daemon going and you typed "open all", you
- might get something like this:
-
- Book: Opened. <- it worked so it took time
- The rats are chewing on your foot. <- this is the Rat daemon
- Table: That's not something you can open. <- no time taken so no daemon
- Door: Opened. <- took time
- The rats are still chewing on your foot. <- that Rat daemon again
-
- -----------------------------------------
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2941 1283 56.3% 30-Jan-98 16:30:48 GLYPH.TXT
- 986 466 52.7% 08-Mar-98 03:46:34 GPARSER.H
- 168228 49890 70.3% 08-Mar-98 03:47:00 GPARSERM.H
- 35541 8407 76.3% 08-Mar-98 03:46:28 GENGLISH.H
- 20205 3611 82.1% 08-Mar-98 03:46:32 GGRAMMAR.H
- -------- ------- ----- --------- --------
- 227901 63657 72.0% 01-Feb-98 17:15:38 5 files
-